package tau.pimpmyfreedb.master;

import tau.pimpmyfreedb.dal.DataFilter;
import tau.pimpmyfreedb.dal.DataType;

public class SearchInfo {
    private String searchString;
    private DataType searchType;
    private DataFilter filter;
    
    public SearchInfo(String searchString, DataType searchType, DataFilter filter)
    {
	this.searchString = searchString;
	this.searchType = searchType;
	this.setFilter(filter);
    }
    
    public String getSearchString() {
        return searchString;
    }
    
    public DataType getSearchType() {
        return searchType;
    }
    
    public DataFilter getFilter() {
	return filter;
    }
    
    public void setSearchString(String searchString) {
        this.searchString = searchString;
    }
    
    public void setSearchType(DataType searchType) {
        this.searchType = searchType;
    }

    public void setFilter(DataFilter filter) {
	this.filter = filter;
    }

}
